<?php
error_reporting(0);
session_start();
include_once 'comm/config.php';

include_once 'comm/checkpostandget.php';
include_once 'comm/page.class.php';

$act=$_GET['act'];
$keyword=$_GET['keyword']; 
$page = !($_GET['page'])?'1':intval($_GET['page']);
$pagesize=8;
$page2=($page-1)*$pagesize;

$sql="select id from ".$BIAOTOU."dhlist where hide=0";

$rs = mysql_query($sql);
$total = mysql_num_rows($rs);	
	
$sql="select id,pic,jifen,money,name,num from ".$BIAOTOU."dhlist where hide='0' order by sort asc,id  desc limit $page2,$pagesize";
$rs = mysql_query($sql);
$tag="huan";
include_once 'comm/seo.php';
include_once 'comm/wjt.php';
//引入模版文件
include 'template/'.MOBAN.'/huan.list.tpl.php';
mysql_close($cfg_link);
?>
